<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>测试pushState方法</title>
</head>
<body>
  <script>
    const state = { 'page_id': 1, 'user_id': 5 }
    const title = ''
    const url = '03.5新浪分页的分页高亮效果完成.html'

    history.pushState(state, title, url)
  </script>
</body>
</html>
